package website.digitalocean.chapter10;

import lombok.extern.slf4j.Slf4j;

/**
 * @author: longhc@citycloud.com.cn
 * @since: 2023/2/10 16:54
 * @version: 1.0
 */
@Slf4j
public class Triangle extends Shape {

    public Triangle(Color color) {
        super(color);
    }

    @Override
    void applyColor() {
        log.info("Triangle start color");
        color.applyColor();
    }
}
